package common

const (
	ETCD_KEY_PREFIX = "/cron/jobs/"
	ETCD_KILL_KEY_PREFIX = "/cron/kill/"

	// 锁目录
	ETCD_JOB_LOCK_DIR = "/cron/lock/"
	// 服务注册目录
	ETCD_JOB_REGISTER_DIR = "/cron/workers/"

	//保存任务事件
	JOB_EVENT_TYPE_SAVE = 1
	// 删除任务事件
	JOB_EVENT_TYPE_DEL = 2
	// 强杀任务
	JOB_EVENT_TYPE_KILL = 3

)